home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / boot / menus / main.scn < prev    next >
Encoding:
Text File  |  2005-03-23  |  3.1 KB  |  64 lines

  1. #
  2. # Main Menu
  3. #
  4. main_menu:
  5. set textColor = color[white on black]
  6. clear
  7. set textColor = color[yellow on blue]
  8. print "                            ULTIMATE BOOT CD VER 3.2                            "
  9. print "                         http://www.ultimatebootcd.com/                         "
  10. print "                                                                                "
  11. set textColor = color[white on red]
  12. print "                                  [Main Menu]                                   "
  13. set textColor = color[white on cyan]
  14. print "                                                                                "
  15. print "                                                                                "
  16. print "                                                                                "
  17. print "                                                                                "
  18. print "                           [F1] Mainboard Tools                                 "
  19. print "                           [F2] Hard Disk Tools                                 "
  20. print "                           [F3] Filesystem Tools                                "
  21. print "                           [F4] Other Tools                                     "
  22. print "                           [F5] DOS/Linux Boot Disks                            "
  23. if file[\INSERT\INSERT]
  24. then print "                           [F6] INSERT for UBCD                                 "
  25. else print "                                                                                "
  26. print "                                                                                "
  27. print "                            [1] Boot first hard disk                            "
  28. print "                            [2] Boot second hard disk                           "
  29. print "                            [0] Drop to console                                 "
  30. print "                                                                                "
  31. print "                                                                                "
  32. print "                                                                                "
  33. print "                                                                                "
  34. print "                                                                                "
  35. set textColor = color[white on blue]
  36. print "        Please select an item (First hard disk will boot after 5 minutes)       "
  37. set textColor = color[white on black]
  38.  
  39. #
  40. # Actions
  41. #
  42. getkey 500 script boothdd0.scn
  43. clear
  44. if ($lastKey == key[f1]); then script mboard.scn
  45. if ($lastKey == key[f2]); then script hdd.scn
  46. if ($lastKey == key[f3]); then script filesys.scn
  47. if ($lastKey == key[f4]); then script others.scn
  48. if ($lastKey == key[f5]); then script bootdsk.scn
  49. if ($lastKey == key[f6]); then isolinux
  50. if ($lastKey == key[1]); then script boothdd0.scn
  51. if ($lastKey == key[2]); then script boothdd1.scn
  52. if ($lastKey == key[0]); then goto console
  53. goto main_menu
  54.  
  55. #
  56. # Drop to console
  57. #
  58. console:
  59. cd /
  60. clear
  61. help
  62. end
  63.  
  64.